import { createSSRApp } from "vue";
import App from "./App.vue";
// import 'uno.css';

import {colors} from './common/theme/colors';
import { kviewUIColor } from "kviewui-color";
import {theme} from './common/theme';
// import {theme} from './common/theme/default';

uni.kColors = colors;

uni.kviewUIColor = kviewUIColor;

export function createApp() {
  const app = createSSRApp(App);
  // app.config.globalProperties.$kviewui = $kviewui;
  app.config.globalProperties.$theme = theme;
  return {
    app,
  };
}